#a=map(lambda x:x**3,[1,2,3])

# def func(x):
#     return x**3
# a=map(func,[1,2,3])
# print(list(a))
# for i in range(1,101):
#     if i%2==0:
#         print(i,end=' ')
#     if i%10==0:
#         print()
# nums = [11,22,11,33,11,44,55,11]
# while 11 in nums:
#     nums.remove(11)
# print(nums)
#4对于aaa =[1,2,3，4,5，6,7,8,9,0]，分别写出以下操作对应的输出:
aaa =[1,2,3,4,5,6,7,8,9,0]
print(aaa[1 :3])# 2 3
print(aaa[1:-1])
print(aaa[-4 : ])
print(aaa[ : 3])
print(aaa[2:-1:2])
